package com.owen.dao;

import com.owen.pojo.Fruits;

import java.util.List;

public interface FruitsDao {

    public List<Fruits> findAll();

    public List<Fruits> findByFruits(Fruits fruits);

    public Fruits findById(Long id);

    public Integer deleteById(Long id);

    public Integer updateByFruits(Fruits fruits);

    public Integer addFruits(Fruits fruits);

    public Integer deleteBatch(Long [] id);

    public List<Fruits> findLeftFruitsCake(Long id);

}